-- GENERATED SPELL FOR [Orgrim's Hammer Shadow-Warder] --


function spell0_30866(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(9613,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30866', 3000, 1)
end

function Sorts_30866(pUnit, Event)
local choix_sorts_30866 = math.random(0, 0)
if choix_sorts_30866 == 0 then
pUnit:RegisterEvent('spell0_30866', 1, 1)
end
end

function mob30866_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30866', math.random(1500, 3000), 1)
end

function mob30866_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30866_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30866_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30866, 1, 'mob30866_Action')
RegisterUnitEvent(30866, 2, 'mob30866_Leave')
RegisterUnitEvent(30866, 3, 'mob30866_Kill')
RegisterUnitEvent(30866, 4, 'mob30866_Die')
